import request from '@/http/request'

export const register = (username, password) => {
    return request({
        method: 'post',
        url:'/register',
        // 向后端传值
        params: {
            username: username,
            password: password,
        }
    })
}